package com.web.FeignClient;

import com.web.FeignClient.impl.FeignClientServiceImpl;
import com.web.pojo.Course;
import com.web.pojo.ResultDTO;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
        value = "courseweb"
        ,fallback = FeignClientServiceImpl.class
)
public interface FeignClientService {

    ResultDTO addlist(@RequestBody Course course);

}
